package com.choudou5.solr.bean;

import com.choudou5.solr.bean.common.BaseUserBean;

/**
 * @name 扩展词库
 * @author choudou5
 * @date 2018-7-13
 */
public class DicExtWords extends BaseUserBean<Long> {

    private Long id;

    /**
     * word 敏感词
     */
    private String word;

    /**
     * 版本号
     */
    private Integer version = 1;
    /**
     * 词性
     */
    private String type;

    public DicExtWords() {
    }

    public DicExtWords(String word) {
        this.word = word;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
